package cn.iocoder.yudao.module.crm.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

import java.util.Set;

@Schema(description = "管理后台 - 课程课件新增/修改 Request VO")
@Data
public class CourseMaterialSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8151")
    private Long id;

    @Schema(description = "课件图片", requiredMode = Schema.RequiredMode.REQUIRED)
    private String icon;

    @Schema(description = "展示顺序")
    private Integer sort;

    @Schema(description = "课件类型", example = "1")
    private Integer materialType;

    @Schema(description = "课件地址")
    private String materialUrl;

    @Schema(description = "课件时长")
    private String materialDuration;

    @Schema(description = "老师")
    private Set<Long> teacherIds;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;

    @Schema(description = "备注", example = "")
    private String remark;

}